const getters = {
  // 框架配置
  size: state => state.app.size,
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,

  // 路由配置
  loadMenus: state => state.user.loadMenus,
  permission_routers: state => state.permission.routers,
  addRouters: state => state.permission.addRouters,

  // 用户配置
  token: state => state.user.token,
  roles: state => state.user.roles,
  user: state => state.user.user,

  // api路径配置
  imagesUploadApi: state => state.log.imagesUploadApi,
  baseApi: state => state.log.baseApi,
  fileUploadApi: state => state.log.fileUploadApi,
  updateAvatarApi: state => state.log.updateAvatarApi,
  qiNiuUploadApi: state => state.log.qiNiuUploadApi,
  sqlApi: state => state.log.sqlApi,
  swaggerApi: state => state.log.swaggerApi,

  // Oss配置
  ossFileRoot: state => state.ossconfig.ossFileRoot,
  ossPrefix: state => state.ossconfig.prefix,
  ossBucket: state => state.ossconfig.bucket,
  ossRegion: state => state.ossconfig.region,
  ossEndPoint: state => state.ossconfig.endPonint
}
export default getters
